package com.pro.dao;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

/**
 * @ClassName: ProductCaegoryMapper
 * @Author: 笑笑
 * @DATE: 2021/11/6
 * @TIME: 下午 02:36
 */
@Mapper
public interface ProductCaegoryMapper {

    //根据分类名称查询分类
    @Select("SELECT categroy_id FROM js_product_categroy WHERE title = #{categroyTitle}")
    Integer getByName(String categroyTitle);
}
